package window;

import javax.swing.*;

public class MyJPanel extends JPanel {

	private static final long serialVersionUID = 251201377049195806L;

	MyJPanel(Window window) {

		window.addPanel(this);
	}

	public void addUeberschrift(String title) {

		JLabel label = new JLabel(title);
		this.add(label);
	}
}
